﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Reversi;

public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string sessionid = Session["SessionID"] as string;
        if (sessionid == null || sessionid == "")
        {
            Response.Redirect("Login.aspx");
        }
    }
    protected void Go_Click(object sender, EventArgs e)
    {
        lblOutput.Text = "GameID = " + DataAccessLayer.GetGameID(Session["SessionID"] as string);
    }
}